package com.x.ant.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

@MappingTable(tableName = "ANT_LINE_TRUCK")
public class LineTruck extends BaseObject {
    @MappingColumn(columnName = "LINE_ID", columnPk = true)
    private String lineId;
    @MappingTable(tableName = "ANT_LINE")
    private Line line;
    @MappingColumn(columnName = "TRUCK_ID", columnPk = true)
    private String truckId;
    @MappingTable(tableName = "ANT_TRUCK")
    private Truck truck;

    public String getLineId() {
        return lineId;
    }

    public void setLineId(String lineId) {
        this.lineId = lineId;
    }

    public Line getLine() {
        return line;
    }

    public void setLine(Line line) {
        this.line = line;
    }

    public String getTruckId() {
        return truckId;
    }

    public void setTruckId(String truckId) {
        this.truckId = truckId;
    }

    public Truck getTruck() {
        return truck;
    }

    public void setTruck(Truck truck) {
        this.truck = truck;
    }
}
